# CMake package configuration file for the SofaImplicitField plugin

@PACKAGE_GUARD@
@PACKAGE_INIT@

set(SOFAIMPLICITFIELD_HAVE_SOFADISTANCEGRID @SOFAIMPLICITFIELD_HAVE_SOFADISTANCEGRID@)

find_package(Sofa.Framework QUIET REQUIRED)

if(SOFAIMPLICITFIELD_HAVE_SOFADISTANCEGRID)
    find_package(SofaDistanceGrid QUIET REQUIRED)
endif()

if(NOT TARGET SofaImplicitField)
    include("${CMAKE_CURRENT_LIST_DIR}/SofaImplicitFieldTargets.cmake")
endif()

check_required_components(SofaImplicitField)
set(SofaImplicitField_LIBRARIES SofaImplicitField)
set(SofaImplicitField_INCLUDE_DIRS @PACKAGE_SOFAIMPLICITFIELD_INCLUDE_DIR@ ${SOFAIMPLICITFIELD_INCLUDE_DIR})

